<!doctype html>
<html lang="en">
<head>
    <!-- 根据终端跳转不同的路径开始 -->
        <script type="text/javascript">
            if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){
                var _href = window.location.href;
                if(/www/i.test(_href)){
                    _href = _href.replace(/www/g,"wx");
                }
                window.location.href = _href;
            }
        </script>
        <meta charset="UTF-8">
        <meta name="keywords" content="<{$website_config['web_keyword']}>"/>
        <meta name="description" content="<{$website_config['web_desc']}>"/>
        <title><{if $site_title}><{$site_title}><{else}><{$website_config['web_title']}><{/if}></title>
        <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
        <link rel="stylesheet" href="<{$style_dir}>/css/common.css" />
        <link rel="stylesheet" href="<{$style_dir}>/css/community.css" />
        <link rel="stylesheet" href="<{$style_dir}>/css/public.css" />
        <link rel="stylesheet" href="<{$style_dir}>/css/popup-post.css" />
        <link rel="stylesheet" href="/static/public/popup.css" />
        <link rel="stylesheet" type="text/css" href="/static/public/css/popup-register.css"/>
        <link rel="stylesheet" href="<{$style_dir}>/css/icon.css" />
        <!-- 根据终端跳转不同的路径结束 -->
        <script src="<{$style_dir}>/js/jquery-2.1.1.min.js" type="text/javascript" charset="utf-8"></script>
        <script type="text/javascript" src="/static/public/jquery.validate.js"></script>
        <script type="text/javascript" src="/static/public/messages_ch.js"></script>
        <script type="text/javascript" src="<{$style_dir}>/js/jquery.lazyload.js"></script>

		<!--百度统计 开始-->
		<script>
		var _hmt = _hmt || [];
		(function() {
		  var hm = document.createElement("script");
		  hm.src = "https://hm.baidu.com/hm.js?b3e468b62dc773aae563a2422295d497";
		  var s = document.getElementsByTagName("script")[0]; 
		  s.parentNode.insertBefore(hm, s);
		})();
		</script>

		<!--百度统计 结束-->
	</head>
	<body>
            <script type="text/javascript">
                var is_login=<{$alogin}>;
            </script>
		<!--右侧悬浮-->
		<div id='scrollsidebar' class="right-fixed">
			<div class="right-fixed-list">
				<ul>
					<li>
						<a href="<{eval url('account/sign')}>">
							<b class="icon-index list3"></b>
							<i>签到</i>
						</a>
					</li>
					<li>
                                                <a href="<{eval finance_url('mshop')}>">
							<b class="icon-index list4"></b>
							<i>小卖铺</i>
						</a>
					</li>
					<li>
                                                <a href="<{eval url('mfriend')}>">
							<b class="icon-index list5"></b>
							<i>找朋友</i>
						</a>
					</li>
					<li>
                                                <a href="<{eval url('app')}>" target="_blank">
							<b class="icon-index list6"></b>
							<i>app下载</i>
						</a>
					</li>
					<li>
						<a href="http://wpa.qq.com/msgrd?v=3&uin=2145212703&site=弹溜溜官方&menu=yes">
							<b class="icon-index list7"></b>
							<i>在线客服</i>
						</a>
						<!--<div class="pull">
							<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2145212703&site=弹溜溜官方&menu=yes" title="弹溜溜官方客服">客服一</a>
							<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2172675496&site=弹溜溜官方&menu=yes" title="弹溜溜官方客服">客服二</a>
						</div>-->
					</li>
					<li>
                                            <a href="javascript:void(0);" onclick="tan_component.feedback.load();">
							<b class="icon-index list8"></b>
							<i>问题反馈</i>
						</a>
					</li>
					<li>
						<a href="javascript:void(0);" class="up-btn">
							<b class="icon-index list9"></b>
							<i>返回顶部</i>
						</a>
					</li>
				</ul>
			</div>
		</div>
		<script type="text/javascript">
			$(function(){
				$('.right-fixed-list ul li').mouseenter(function(){
					index = $(this).index();
					$(this).stop(true).animate({marginLeft:'-75px'},300);
					$(this).find('b').addClass('hover');
					setTimeout(fpull,300);
					function fpull(){
						$('.right-fixed-list ul li').eq(index).find('.pull').stop(true).animate({height:'120px'},300);
					};
				});
				$('.right-fixed-list ul li').mouseleave(function(){
					$(this).stop(true).animate({marginLeft:'0'},300);
					$(this).find('b').removeClass('hover');
					var _this=this;
					setTimeout(function(){
						$(_this).find('.pull').stop(true).animate({height:'0'},300);
					},100)
				});
				/*返回顶部*/
			    $(".right-fixed-list ul li .up-btn").click(function(){
			        $('html,body').stop(true).animate({scrollTop: '0px'},800);
			    });
			});
		</script>
		<!--header-->
		<div class="nav-top w100">
			<div class="w1180">
				<div class="fl">
					<p>服务热线：400-100-6645&nbsp;&nbsp;工作时间 9:00 ~ 18:00(法定节假日延迟)</p>
				</div>
				<div class="fr">
                    <a href="<{eval finance_url('guide')}>" target="_blank"><b class="icon-index new"></b>新手引导</a>
                    <a href="<{eval finance_url('helper')}>" target="_blank"><b class="icon-index help"></b>帮助中心</a>
					<a href="javascript:void(0);" onclick="AddFavorite(document.title,window.location);"><b class="icon-index coll"></b>收藏本站</a>
				</div>
				<div class="clear"></div>
			</div>
		</div>
		<div class="nav w100 bjf">
			<div class="w1180">
				<div class="nav-logo fl mt5 mr20">
                                    <a href="/"><img src="<{$style_dir}>/img/logoRB.png"/></a>
				</div>
				<ul class="nav-list fl">
                                    <li><a href="/"  class="<{if $module == 'index'}>on<{/if}>">溜溜大院</a></li>
									<li><a href="<{eval url('task')}>" class="<{if $module == 'task'}>on<{/if}>">溜溜任务</a></li>
									<li><a href="<{eval url('carefree')}>" class="<{if $module == 'carefree'}>on<{/if}>">溜溜无忧</a></li>
                                    <li><a href="<{eval url('wenda')}>" class="<{if $module == 'wenda'}>on<{/if}>">溜溜问答</a></li>
                                    <!--<li><a href="<{eval finance_url('mplat')}>">弹一弹</a></li>-->
<!--                                    <li><a href="<{eval url('lottery')}>" class="<{if $module == 'lottery'}>on<{/if}>">溜溜心愿</a></li>
                                    <li><a href="<{eval finance_url('mquan')}>">存券宝</a></li>
                                    <li><a href="<{eval finance_url('mfunds')}>">溜溜筹</a></li>-->
                                    <li><a href="<{eval finance_url('card')}>">溜溜卡</a></li>
                                    <li><a href="<{eval url('video')}>" class="<{if $module == 'video'}>on<{/if}>">溜溜视频</a></li>
                                    <li><a href="<{eval url('app')}>" target="_blank">App下载</a></li>
				</ul>
				<div class="fr">
					<div class="login">
	                        <{if $uinfo}>
	                    <div class="nav-dropdown fl">
		                   	<a href="javascript:void(0);" class="nav-tips">
								<{if $message_count['total_count']}><span><{$message_count['total_count']}></span><{/if}> 消息<b class="ml5"></b>
							</a>	
							<div class="dropdown dropdown-mess bjf">
								<ul>
                                                                    <li>
                                                                        <a href="<{eval url('account/letter')}>">私信<i class="num"><{if $message_count['letter_message_count']}><{$message_count['letter_message_count']}><{/if}></i></a>
                                                                    </li>

                                                                    <li>
                                                                        <a href="<{eval finance_url('user/sms')}>">平台消息<i class="num"><{if $message_count['finance_message_count']}><{$message_count['finance_message_count']}><{/if}></i></a>
                                                                    </li>
                                                                    <li>
                                                                        <a href="<{eval url('msg_sys')}>">系统消息<i class="num"><{if $message_count['system_message_count']}><{$message_count['system_message_count']}><{/if}></i></a>
                                                                    </li>
                                                                    <li>
                                                                        <a href="<{eval url('msg_art')}>">文章消息<i class="num"><{if $message_count['artcle_message_count']}><{$message_count['artcle_message_count']}><{/if}></i></a>
                                                                    </li>
                                                                    <li>
                                                                        <a href="<{eval url('msg_wenda')}>">问答消息<i class="num"><{if $message_count['wenda_message_count']}><{$message_count['wenda_message_count']}><{/if}></i></a>
                                                                    </li>
								</ul>
							</div>
	                    </div>
						<div class="nav-user nav-dropdown fr">
                            <a  href="<{eval url('account')}>" class="head overhide mt5">
                                <img src="<{$bbs_user_info['head_img']}>"/>
							</a>
							<div class="dropdown dropdown-user bjf">
								<div class="remaining">
								</div>
								<ul>
									<li>
										<a href="<{eval url('account')}>"><b class="icon-index list1"></b>大院中心</a>
									</li>
									<li>
										<a href="<{eval url('account/taskrel')}>"><b class="icon-index list1" style="background-image: url(/static/forum/img/task-ico.png);background-position: 2px;"></b>任务中心</a>
									</li>
									<li>
										<a href="<{eval url('account/exposure')}>"><b class="icon-index list1" style="background-image: url(/static/forum/img/task-ico.png);background-position: 2px;"></b>我的曝光</a>
									</li>
                                                                        <li>
										<a href="<{eval finance_url('user')}>"><b class="icon-index list2"></b>金融中心</a>
									</li>
                                                                        <li>
										<a href="<{eval url('account/arts')}>"><b class="icon-index list3"></b>我的文章</a>
									</li>
									<li>
										<a href="<{eval url('account/question')}>"><b class="icon-index list4"></b>我的问答</a>
									</li>
									<li>
                                                                            <a href="<{eval finance_url('user/security')}>"><b class="icon-index list5"></b>账号设置</a>
									</li>
									<li>
                                                                            <a href="<{eval url('account/logout')}>" title="退出登录"><b class="icon-index list6"></b>退出登录</a>
									</li>
								</ul>
							</div>
						</div>
						<script type="text/javascript">
							$('.nav-dropdown').mouseenter(function(){
								$(this).find('.dropdown').stop(true).fadeIn();
							});
							$('.nav-dropdown').mouseleave(function(){
								$(this).find('.dropdown').stop(true).fadeOut();
							});
						</script>
	                    <{else}>
                                <{if !$lotter_index}>
                            <div class="fl header-login">
                            	<a onclick="window.location.href=$(this).attr('data-href');" data-href="http://www.tan66.com/account/qq_login.html" class="icon">&#xe61f;</a>
                            	<a onclick="window.location.href=$(this).attr('data-href');" data-href="http://www.tan66.com/account/weixin_login.html" class="icon">&#xe603;</a>
                            	<a onclick="window.location.href=$(this).attr('data-href');" data-href="http://www.tan66.com/account/weibo_login.html" class="icon">&#xe600;</a>
                            </div>
	                    	<div class="fl mt15">
                                    <a class="login-box" href="<{eval url('account/login')}>" style="cursor: pointer;" >登录</a>|<a href="<{eval url('account/register')}>"  class="register-box" style="cursor: pointer;">注册</a>
	                    	</div>
                                <{/if}>
	                    <{/if}>
                    </div>
				</div>
			</div>
			<div class="clear"></div>
		</div>